<div class="block">
	<div class="block-title">应付统计</div>
	<div class="block-body" style="width:auto">
		<?php $this->widget('zii.widgets.grid.CGridView', array(
			'id'=>'toPayList-grid',
			'dataProvider'=>$dataProvider,
			'columns'=>array(
				array('name' => '加盟账号', 'value' => '$data->loginid'),
				array('name' => '姓名', 'value' => '$data->payableto'),
				array('name' => '网址', 'value' => '$data->site'),
				array('name' => '已付金额', 'value' => '$data->paid_amount'),
				array('name' => '余额', 'value' => '$data->balance'),
				array('name' => '操作', 'value' => '"<a href=\'/index.php/admin/payment/selectMonths/owner_id/{$data->loginid}\'>付款</a>"', 'type' => 'raw') 
			),
			
		)); ?>
	</div>
</div>